<?php

class race {

    private $raceCod;
    private $namerace;
    private $specie;
    private $weightBirth;
    private $weightWeaning;
    private $weightSacr;
    private $ageWeanig;
    private $ageSacr;
    private $drymatter;
    private $tenderness;
    private $canalperformance;
    private $weightcanal;
    private $beforeweaning;
    private $afterweaning;

    public function __construct() {
        $this->raceCod = 0;
        $this->namerace = '';
        $this->specie = '';
        $this->weightBirth = 0;
        $this->weightWeaning = 0;
        $this->weightSacr = 0;
        $this->ageWeanig = 0;
        $this->ageSacr = 0;
        $this->drymatter = 0.0;
        $this->tenderness = 0.0;
        $this->canalperformance = 0;
        $this->weightcanal = 0;
        $this->beforeweaning = 0.0;
        $this->afterweaning = 0.0;
    }

    public function getRaceCod() {
        return $this->raceCod;
    }

    public function setRaceCod($raceCod) {
        $this->raceCod = $raceCod;
    }

    public function getNamerace() {
        return $this->namerace;
    }

    public function setNamerace($namerace) {
        $this->namerace = $namerace;
    }

    public function getSpecie() {
        return $this->specie;
    }

    public function setSpecie($specie) {
        $this->specie = $specie;
    }

    public function getWeightBirth() {
        return $this->weightBirth;
    }

    public function setWeightBirth($weightBirth) {
        $this->weightBirth = $weightBirth;
    }

    public function getWeightWeaning() {
        return $this->weightWeaning;
    }

    public function setWeightWeaning($weightWeaning) {
        $this->weightWeaning = $weightWeaning;
    }

    public function getWeightSacr() {
        return $this->weightSacr;
    }

    public function setWeightSacr($weightSacr) {
        $this->weightSacr = $weightSacr;
    }

    public function getAgeWeanig() {
        return $this->ageWeanig;
    }

    public function setAgeWeanig($ageWeanig) {
        $this->ageWeanig = $ageWeanig;
    }

    public function getAgeSacr() {
        return $this->ageSacr;
    }

    public function setAgeSacr($ageSacr) {
        $this->ageSacr = $ageSacr;
    }

    public function getDrymatter() {
        return $this->drymatter;
    }

    public function setDrymatter($drymatter) {
        $this->drymatter = $drymatter;
    }

    public function getTenderness() {
        return $this->tenderness;
    }

    public function setTenderness($tenderness) {
        $this->tenderness = $tenderness;
    }

    public function getCanalperformance() {
        return $this->canalperformance;
    }

    public function setCanalperformance($canalperformance) {
        $this->canalperformance = $canalperformance;
    }

    public function getWeightcanal() {
        return $this->weightcanal;
    }

    public function setWeightcanal($weightcanal) {
        $this->weightcanal = $weightcanal;
    }

    public function getBeforeweaning() {
        return $this->beforeweaning;
    }

    public function setBeforeweaning($beforeweaning) {
        $this->beforeweaning = $beforeweaning;
    }

    public function getAfterweaning() {
        return $this->afterweaning;
    }

    public function setAfterweaning($afterweaning) {
        $this->afterweaning = $afterweaning;
    }

}

?>
